package net.zjitc.Shape;

/**
 * @Author admin
 * @Date 2019/3/20 9:05
 *
 *  长方形
 */
public class Rectangle extends Shape {
    Rectangle (){

    }
    Rectangle(String name){
        super(name);
    }
    @Override
    public void print(){
        System.out.println(name+"面积是：a*b");
    }
}
